package com.zlkj.pro.modular.business.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.business.entity.ProductInfoEntity;
import com.zlkj.pro.modular.business.model.dto.ProductInfoDTO;
import com.zlkj.pro.modular.business.model.vo.ProductInfoVO;

import java.util.List;

/**
 * @author liyang
 * @date 2024/4/6
 * @time 14:34
 */
public interface ProductInfoService extends IService<ProductInfoEntity> {

    PageResult<ProductInfoVO> findPage(ProductInfoDTO dto);

    List<ProductInfoVO> findList(ProductInfoDTO dto);

    ProductInfoVO findDetail(ProductInfoDTO dto);

    boolean add(ProductInfoDTO dto);

    boolean edit(ProductInfoDTO dto);

    boolean delete(ProductInfoDTO dto);

    boolean batchDelete(List<Long> ids);
}
